Algorithm Explanation

welcome to shbcf.ru